/* Basic layer styles */
.xubox_layer {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.xubox_shade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.xubox_title {
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.xubox_close {
    float: right;
    cursor: pointer;
}

.xubox_content {
    padding: 20px;
}

/* Loading spinner */
.xubox_loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
